
package com.yimixian.app;

import android.content.Context;

/**
 * 系统工作框架集
 * 
 * @author kongtao
 */
public class SystemFramework {

    private Context globalContext;// 应用全局实例句柄

    private static SystemFramework sInstance = null;

    public static synchronized SystemFramework getInstance() {
        if (sInstance == null) {
            sInstance = new SystemFramework();
            sInstance.globalContext = YMXApplication.getInstance();

        }
        return sInstance;
    }

    public Context getGlobalContext() {
        return globalContext;
    }

}
